<div class="admin">
    <form method="post" name="myform" id="myform" action="">
        <div class="panel admin-panel">
            <div class="panel-head"><strong>添加导航栏</strong></div>
            <div class="padding border-bottom">
                <div class="bg-back radius padding">
                    <h4>说明：</h4>
                    <p class="text-indent">满即送活动包括店铺所有商品，活动时间不能和已有活动重叠</p>
                </div>
            </div>
            <table class="table table-hover">
                <tr>
                    <td width='160px'><span class="c-red">*</span>导航栏名称：</td>
                    <td width='*'>
                        <input type="text" class="input input_big" value="" datatype="*" placeholder="" id="" name="sn_title" />
                        <div class="label Validform_checktip"></div>
                    </td>
                    <td width='*'></td>
                </tr>
                <tr>
                    <td><span class="c-red">*</span>是否显示：</td>
                    <td>
                        <div class="button-group radio">
                                <label class="button active">
                                        <input name="sn_if_show" value="1" checked="checked" type="radio"><span class="icon icon-check"></span> 是
                                </label>
                                <label class="button">
                                        <input name="sn_if_show" value="0" type="radio"><span class="icon icon-times"></span> 否
                                </label>
                        </div>
                    </td>
                    <td></td>
                </tr>
                <tr>
                    <td><span class="c-red">*</span>排序：</td>
                    <td>
                        <input name="sn_sort" class="inputL input_smallL" datatype="*" type="text" />
                        <div class="label Validform_checktip"></div>
                    </td>
                    <td></td>
                </tr>
                <tr>
                    <td><span class="c-red">*</span>导航链接地址：</td>
                    <td>
                        <input name="sn_url" class="inputL input_big" datatype="*" type="text" />
                        <div class="label Validform_checktip"></div>
                    </td>
                    <td></td>
                </tr>
                <tr>
                    <td><span class="c-red">*</span>新窗口打开：</td>
                    <td>
                        <div class="button-group radio">
                                <label class="button active">
                                        <input name="sn_new_open" value="1" checked="checked" type="radio"><span class="icon icon-check"></span> 是
                                </label>
                                <label class="button">
                                        <input name="sn_new_open" value="0" type="radio"><span class="icon icon-times"></span> 否
                                </label>
                        </div>
                    </td>
                    <td></td>
                </tr>
            </table>
            <div class="panel-foot text-center">
                <div class="form-button">
                    <input class="button bg-main" type="submit" value="确认保存">
                    <button class="button bg" type="reset">取消</button>
                </div>
            </div>
        </div>
    </form>
</div>

<script type="text/javascript">
    $("#myform").Validform({
        tiptype: 3,
        showAllError:true,
    });
    
    $('#myform').layer({
    });
</script>